package cn.meomis.dao.imp;

import org.springframework.stereotype.Repository;

import cn.meomis.common.dao.BaseDaoHibernate;
import cn.meomis.common.entity.Pagination;
import cn.meomis.dao.DemoDao;
import cn.meomis.model.Demo;


@Repository
public class DemoDaoImpl extends BaseDaoHibernate<Demo> implements DemoDao {

	@Override
	public Pagination pageQueryByHql(String hql, Object[] values,
			String countHql, int pageNumber, int pageSize) {
		return this.pageQuery( hql,  values,  countHql,  pageNumber,  pageSize);
	}
    
}
